FROM openjdk:12
VOLUME /tmp
ARG JAR_FILE
ADD ${JAR_FILE} /app.jar
EXPOSE 10086
EXPOSE 10087
ENTRYPOINT ["java","-jar","app.jar"]
